package com.soma.game.service.impl;

import com.soma.game.mapper.SystemExtMapper;
import com.soma.game.model.SystemVo;
import com.soma.game.service.SystemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * @program: soma-game
 * @description:
 * @author: hduprince
 * @create: 2018-09-25 09:35
 **/
@Service
public class SystemServiceImpl implements SystemService {

    @Resource
    private SystemExtMapper systemExtMapper;


    @Override
    public List<SystemVo> gamePlayCount(Date start, Date end) {
        return systemExtMapper.gamePlayCount(start, end);
    }

    @Override
    public List<SystemVo> newUserCount(Date start, Date end) {
        return systemExtMapper.newUserCount(start, end);
    }

    @Override
    public List<SystemVo> dailyUserCount(Date start, Date end) {
        return systemExtMapper.dailyUserCount(start, end);
    }
}
